#! /bin/bash

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

top_path="$(cd $script_dir/../../ && pwd)"
echo $top_path
cd $top_path
sudo docker build -t vp/nv_small:1.0 -f ./vp/docker/nv_small_Dockerfile .
sudo docker save vp/nv_small:1.0 > ./vp/docker/nv_small.tar
sudo docker image prune -f